<?php

namespace Sffi\ElementPlus\ElForm;

class ElTextArea extends FormItem
{
    protected string $type = 'textarea';
    protected string $placeholder;

    public function __construct($title, $key, $placeholder='请输入')
    {
        $this->title = $title;
        $this->key = $key;
        $this->prop = $key;
        $this->placeholder = $placeholder;
    }
}